4207fc7362a956da70bef8da05e2505855c3a9e6,opennms-webapp/src/main/java/org/opennms/web/svclayer/support/DefaultDistributedStatusService.java,DefaultDistributedStatusService,createFacilityStatusTable,#Date#Date#,223

Before Change


                                           mostRecentStatuses);

                String percentage =
                    calculatePercentageUptime(monitors,
                                              memberServices,
                                              statusesPeriod,
                                              startDate, endDate);
                
                table.addCell(percentage, status,
                              createHistoryPageUrl(locationDefinition, application));

After Change


                String percentage;
                if (selectedStatuses.size() > 0) {
                    percentage =
                        calculatePercentageUptime(memberServices,
                                                  statusesPeriod,
                                                  startDate, endDate);
                    table.addCell(percentage, status,
                                  createHistoryPageUrl(locationDefinition,
                                                       application));